/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.SRP.fixSRP.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.principles.SRP.fixSRP.fixSRP.IfixSRP;
import za.ac.cput.principles.SRP.fixSRP.fixSRP.impl.Employee;
/**
 *
 * @author Administrator
 */
@Configurable
public class AppConfig 
{
    @Bean(name = "Emp")
    public IfixSRP IfixSRP() 
    {
        return new Employee();
    }

    @Bean
    public IfixSRP newFix() 
    {
        return new Employee();
    }

    @Bean(name = "Nemp")
    public IfixSRP Employee()
    {
        return new Employee();
    }
}
